package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
@Controller
@RequestMapping("/admin")
public class AdminController {

    @RequestMapping("/login")
    public String login(String username, String password){
        System.out.println(username + "  " + password);
        return "index";
    }
}
